package oldmodifiers;

public class ModifierData {
	protected int value, min, max, runCount;
	private boolean running;
	
	public ModifierData(int value)
	{
		this(value, false);
	}
	
	public ModifierData(int value, boolean running)
	{
		this.value = value;
		this.running = running;
		this.runCount = 0;
	}
	
	public int getValue()
	{
		return value;
	}
	
	public void setValue(int value)
	{
		this.value = value;
	}
	
	public boolean getRun()
	{
		return running;
	}
	
	public void setRun(boolean run)
	{
		this.running = run;
		if (!this.running)
			this.runCount = 0;
	}
	
	public int getMin()
	{
		return this.min;
	}
	
	public int getMax()
	{
		return this.max;
	}
	
	public void setMin(int value)
	{
		this.min = value;
	}
	
	public void setMax(int value)
	{
		this.max = value;
	}
	
	public Integer getRunCount()
	{
		return this.runCount;
	}
	
	public void setRunCount(int runCount)
	{
		this.runCount = runCount;
	}
}
